Method and device for allocating uplink resource, and terminal

ABSTRACT

A method for allocating an uplink resource includes: receiving an uplink (UL) grant sent by a base station; and allocating, based on a transmission profile corresponding to a logical channel, an uplink resource indicated by the UL grant to the logical channel, wherein the transmission profile corresponding to the logical channel is configured by the base station.

TECHNICAL FIELD

Embodiments of the present disclosure relate to the field ofcommunication technology, and in particular to a method and a device forallocating an uplink resource and a terminal.

BACKGROUND

In the process of wireless communication, if a terminal needs to senddata to a base station, the base station needs to allocate an uplinkresource to the terminal first. Then, the terminal sends the data to thebase station using the allocated uplink resource. On the terminal side,there may be data, from a plurality of logical channels, that need to besent to the base station. Therefore, the terminal allocated with theuplink resource needs to decide the data from which logical channel isto be transmitted by the allocated uplink resource and how much dataeach logical channel can transmit.

Currently, the terminal allocates the uplink resource to the logicalchannels based on a priority and a priority bit rate of each logicalchannel. However, in a 5G communication system, data transmission ofdifferent logical channels may have different requirements for asub-carrier spacing and a transmission time interval (TTI). Theforegoing method of allocating the uplink resource to the logicalchannels based on the priority and the priority bit rate of each logicalchannel fails to meet actual demands.

SUMMARY

To solve problems in the related art, embodiments of the presentdisclosure provide a method and a device for allocating an uplinkresource and a terminal. The technical solutions are described as below.

According to a first aspect of the embodiments of the presentdisclosure, there is provided a method for allocating an uplinkresource. The method includes: receiving a UL grant sent by a basestation; and allocating, based on a transmission profile correspondingto a logical channel, an uplink resource indicated by the UL grant tothe logical channel. The transmission profile corresponding to thelogical channel is allocated by the base station.

Optionally, said allocating, based on a transmission profilecorresponding to a logical channel, an uplink resource indicated by theUL grant to the logical channel includes: determining a transmissionprofile corresponding to the uplink resource indicated by the receivedUL grant; and allocating, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel.

By determining the transmission profile corresponding to the uplinkresource indicated by the UL grant, the uplink resource that meets thetransmission profile corresponding to the logical channel may beselected and allocated to the corresponding logical channel.

Optionally, the uplink resource indicated by each of the UL grantsincludes one or a plurality of time-frequency resource blocks. Eachtime-frequency resource block corresponds to one transmission profile.During implementation, the uplink resources in one UL grant maycorrespond to the same transmission profile or different transmissionprofiles. Thus, one UL grant may indicate the uplink resourcescorresponding to different transmission profiles, which can beimplemented flexibly.

Optionally, said determining a transmission profile corresponding to theuplink resource indicated by the received UL grant includes: acquiringan identifier of a transmission profile corresponding to the uplinkresource from the UL grant, and determining, based on the identifier ofthe transmission profile, the transmission profile corresponding to theuplink resource. Alternatively, said determining a transmission profilecorresponding to the uplink resource indicated by the received UL grantincludes: acquiring a transmission profile parameter corresponding tothe uplink resource from the UL grant, and determining, based on theacquired transmission profile parameter, the transmission profilecorresponding to the uplink resource. The transmission profilecorresponding to the uplink resource is determined by information the ULgrant carries, which is simple to implement.

Optionally, said allocating, based on a transmission profilecorresponding to a logical channel, an uplink resource indicated by theUL grant to the logical channel further includes:

judging whether a transmission profile corresponding to an uplinkresource indicated by the UL grant belongs to a pre-allocatedtransmission profile set, wherein the transmission profile set includesa transmission profile corresponding to the logical channel; and if not,not allocating an uplink resource corresponding to the transmissionprofile that does not belong to the transmission profile set, ordetermining a priority of the transmission profile that does not belongto the transmission profile set as a minimum priority.

During resource allocation, the priority of the transmission profilethat belongs to the pre-allocated transmission profile set serves as apriority of the transmission profile corresponding to the uplinkresource. For the transmission profile that does not belong to thetransmission profile set, the priority of the transmission profilecorresponding to the uplink resource serves as the minimum priority,such that the uplink resource allocated to the logical channel can beconveniently determined during subsequent resource allocation.

In a possible implementation mode of the present disclosure, the logicalchannel corresponds to one transmission profile. Said allocating, basedon the transmission profile corresponding to the logical channel and thetransmission profile corresponding to the uplink resource, an uplinkresource indicated by the UL grant to the logical channel includes: whena first uplink resource exists, and the quantity of the first uplinkresource is larger than or equal to the quantity of resources requiredby a first logical channel, allocating an uplink resource to the firstlogical channel from the first uplink resource. The first uplinkresource is an unallocated uplink resource of which a correspondingtransmission profile is the same as a transmission profile correspondingto the first logical channel. The first logical channel is any one ofthe logical channels allocated with a corresponding transmissionprofile.

Further, said allocating, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel further includes: when the firstuplink resource does not exist or the quantity of the first uplinkresource is smaller than the quantity of resources required by the firstlogical channel, the uplink resource for whose allocation the firstuplink resource is insufficient is allocated by any one of the followingways:

allocating an uplink resource to the first logical channel from a seconduplink resource, wherein the second uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is higher than that of the transmission profile corresponding tothe first logical channel; or allocating an uplink resource to the firstlogical channel from a third uplink resource, wherein the third uplinkresource is an unallocated uplink resource of which a priority of acorresponding transmission profile is lower than that of thetransmission profile corresponding to the first logical channel; orallocating an uplink resource to the first logical channel from a fourthuplink resource, wherein the fourth uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is equal to that of the transmission profile corresponding tothe first logical channel; or stopping allocating an uplink resource tothe first logical channel.

In a possible implementation mode of the present disclosure, when thelogical channel corresponds to a plurality of transmission profiles,said allocating, based on the transmission profile corresponding to thelogical channel and the transmission profile corresponding to the uplinkresource, an uplink resource indicated by the UL grant to the logicalchannel includes:

selecting and allocating an uplink resource corresponding to atransmission profile to a first logical channel in the order ofpriorities of a plurality of transmission profiles, from high to low,corresponding to the logical channel. The first logical channel is anyof the logical channels allocated with the corresponding transmissionprofile.

Further, said allocating, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel includes:

when the uplink resources corresponding to the plurality of transmissionprofiles corresponding to the logical channel are insufficient to meetthe demand on the quantity of resources required by the logical channel,allocating an uplink resource to the logical channel by the followingways:

allocating an uplink resource corresponding to a transmission profileother than the transmission profile corresponding to the logical channelto the logical channel; or after allocating uplink resources, based onthe plurality of corresponding allocated transmission profiles, to allthe logical channels once, allocating an uplink resource correspondingto a transmission profile other than the transmission profilecorresponding to the logical channel to the logical channel; or stoppingallocating an uplink resource to the logical channel.

Optionally, said allocating, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel further includes: allocating anuplink resource to a second logical channel in the order of the priorityof the transmission profile corresponding to the uplink resource fromhigh to low or from low to high. The second logical channel is a logicalchannel unallocated with a corresponding transmission profile. The basestation needs to allocate a transmission profile priority to only alogical channel corresponding to a specific service (e.g., services withdemands on a TTI and a sub-carrier spacing) but not all the logicalchannels. For other services, the terminal may allocate resources tothem pursuant to a set rule.

Optionally, said allocating, based on a transmission profilecorresponding to a logical channel and a transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel further includes: allocating, basedon a default transmission profile and a transmission profilecorresponding to the uplink resource, an uplink resource to a secondlogical channel. The second logical channel is a logical channelunallocated with a corresponding transmission profile. The defaulttransmission profile is pre-allocated by the base station.

Optionally, the method further comprises: receiving transmission profileallocation information sent by a base station, wherein the transmissionprofile allocation information comprises at least one of indicationinformation of a default transmission profile, indication information ofa transmission profile set and indication information of a transmissionprofile corresponding to a logical channel; the indication informationof the default transmission profile is configured to indicate atransmission profile preferentially used by a logical channelunallocated with a corresponding transmission profile; and thetransmission profile set comprises a transmission profile correspondingto the logical channel.

According to a second aspect of the embodiments of the presentdisclosure, there is provided a device for allocating an uplinkresource, comprising:

a receiving unit, configured to receive a UL grant sent by a basestation; and

an allocating unit, configured to allocate, based on a transmissionprofile corresponding to a logical channel, an uplink resource indicatedby the UL grant the receiving unit receives to the logical channel,wherein the transmission profile corresponding to the logical channel isallocated by the base station.

Optionally, the allocating unit comprises:

a determining sub-unit, configured to determine a transmission profilecorresponding to the uplink resource indicated by the received UL grant;and

an allocating sub-unit, configured to allocate, based on thetransmission profile corresponding to the logical channel and thetransmission profile corresponding to the uplink resource, an uplinkresource indicated by the UL grant to the logical channel.

Optionally, the uplink resource indicated by each of the UL, grantscomprises one or a plurality of time-frequency resource blocks, and eachtime-frequency resource block corresponds to one transmission profile.

Optionally, the determining sub-unit is configured to acquire anidentifier of a transmission profile corresponding to the uplinkresource from the UL grant, and determine the transmission profilecorresponding to the uplink resource based on the identifier of thetransmission profile; or the determining sub-unit is configured toacquire a transmission profile parameter corresponding to the uplinkresource from the UL grant, and determine the transmission profilecorresponding to the uplink resource based on the acquired transmissionprofile parameter.

Optionally, the allocating unit further comprises:

a judging sub-unit, configured to judge whether a transmission profilecorresponding to an uplink resource indicated by the UL grant belongs toa pre-allocated transmission profile set, Wherein the transmissionprofile set comprises a transmission profile corresponding to thelogical channel; and

a priority determining sub-unit, configured not to, if the judgingsub-unit determines that the transmission profile corresponding to theuplink resource indicated by the UL grant does not belong to apre-allocated transmission profile set, allocate an uplink resourcecorresponding to the transmission profile that does not belong to thetransmission profile set, or determine a priority of the transmissionprofile that does not belong to the transmission profile set as aminimum priority.

Optionally, the logical channel corresponds to one or a plurality oftransmission profiles.

Optionally, when the logical channel corresponds to one transmissionprofile, the allocating sub-unit is configured to, when a first uplinkresource exists, and the quantity of the first uplink resource is largerthan or equal to the quantity of resources required by a first logicalchannel, allocate an uplink resource to the first logical channel fromthe first uplink resource; the first uplink resource is an unallocateduplink resource of which a corresponding transmission profile is thesame as a transmission profile corresponding to the first logicalchannel, and the first logical channel is any one of the logicalchannels allocated with a corresponding transmission profile.

Further, the allocating sub-unit is further configured to, when thefirst uplink resource does not exist or the quantity of the first uplinkresource is smaller than the quantity of resources required by the firstlogical channel, the uplink resource for whose allocation the firstuplink resource is insufficient is allocated by any one of the followingways:

allocating an uplink resource to the first logical channel from a seconduplink resource, wherein the second uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is higher than that of the transmission profile corresponding tothe first logical channel; or

allocating an uplink resource to the first logical channel from a thirduplink resource, wherein the third uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is lower than that of the transmission profile corresponding tothe first logical channel; or

allocating an uplink resource to the first logical channel from a fourthuplink resource, wherein the fourth uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is equal to that of the transmission profile corresponding tothe first logical channel; or

stopping allocating an uplink resource to the first logical channel.

Optionally, when the logical channel corresponds to a plurality oftransmission profiles, the allocating sub-unit is configured to, selectand allocate an uplink resource corresponding to a transmission profileto a first logical channel in the order of priorities of a plurality oftransmission profiles, from high to low, corresponding to the logicalchannel; and the first logical channel is any one of the logicalchannels allocated with the corresponding transmission profile.

Further, the allocating sub-unit is further configured to, when theuplink resources corresponding to the plurality of transmission profilescorresponding to the logical channel are insufficient to meet the demandon the quantity of resources required by the logical channel, allocatean uplink resource to the logical channel by the following ways:

allocating an uplink resource corresponding to a transmission profileother than the transmission profile corresponding to the logical channelto the logical channel; or

after allocating uplink resources, based on the plurality ofcorresponding allocated transmission profiles, to all the logicalchannels once, allocating an uplink resource corresponding to atransmission profile other than the transmission profile correspondingto the logical channel to the logical channel; or

stopping allocating an uplink resource to the logical channel.

Optionally, the allocating unit is further configured to, allocate anuplink resource to a second logical channel in the order of the priorityof the transmission profile corresponding to the uplink resource fromhigh to low or from low to high; and the second logical channel is alogical channel unallocated with the transmission profile.

Optionally, the allocating unit is further configured to allocate, basedon a default transmission profile and a transmission profilecorresponding to the uplink resource, an uplink resource to a secondlogical channel; the second logical channel is a logical channelunallocated with a corresponding transmission profile; and the defaulttransmission profile is pre-allocated by the base station.

Optionally, the receiving unit is further configured to receivetransmission profile allocation information sent by a base station; thetransmission profile allocation information comprises at least one ofindication information of a default transmission profile, indicationinformation of a transmission profile set and indication information ofa transmission profile corresponding to a logical channel; theindication information of the default transmission profile is configuredto indicate a transmission profile preferentially used by a logicalchannel unallocated with a corresponding transmission profile; and thetransmission profile set comprises a transmission profile correspondingto the logical channel.

According to a third aspect of the embodiments of the presentdisclosure, there is provided a terminal, comprising: a processor; and amemory configured to store an instruction executable by the processor,wherein the processor is configured to: receive a UL grant sent by abase station; and allocate, based on a transmission profilecorresponding to a logical channel, an uplink resource indicated by theUL grant to the logical channel, wherein the transmission profilecorresponding to the logical channel is allocated by the base station.

The technical solutions provided by the embodiments of the presentdisclosure may have the following beneficial effects.

By allocating the corresponding transmission profile to the logicalchannel, the uplink resource that meets the transmission profile of thelogical channel can be preferentially allocated to the logical channel.Thus, transmission of data on the logical channel can be guaranteedbetter to meet requirements of communication services.

It is to be understood that both the foregoing general description andthe following detailed description are exemplary and explanatory onlyand are not intended to limit the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute apart of this specification, illustrate embodiments consistent with thepresent disclosure and, together with the description, serve to explainthe principles of the present disclosure.

FIG. 1 is a system architecture diagram of a communication system inaccordance with one embodiment of the present disclosure;

FIG. 2 is a flowchart of a method for allocating an uplink resource inaccordance with one embodiment of the present disclosure;

FIG. 3 is a flowchart of a method for allocating an uplink resource inaccordance with another embodiment of the present disclosure;

FIG. 4 is a flowchart of a method for allocating an uplink resource inaccordance with yet another embodiment of the present disclosure;

FIG. 5 is a structural block diagram of a device for allocating anuplink resource in accordance with one embodiment of the presentdisclosure;

FIG. 6 is a structural block diagram of a device for allocating anuplink resource in accordance with another embodiment of the presentdisclosure; and

FIG. 7 is a structural block diagram of a terminal in accordance withone embodiment of the present disclosure.

DETAILED DESCRIPTION

The embodiments of the present disclosure will be described in furtherdetail with reference to the accompanying drawings, to present theobjects, technical solutions, and advantages of the present disclosuremore clearly.

The symbol “/” in this text generally represents an “or” relationshipbetween contextual objects.

Referring to FIG. 1, which is a system architecture diagram of acommunication system in accordance with one embodiment of the presentdisclosure. The communication system 100 includes at least one terminal120 and at least one access network apparatus 140.

The terminal 120 may be a personal communication service (PCS)telephone, a cordless telephone, a session initiation protocol (SIP)telephone, and a wireless local loop (WLL) station, a personal digitalassistant (PDA), etc. The terminal may also be called a system, asubscriber unit, a subscriber station, a mobile station, a mobile, aremote station, an access point, a remote terminal, an access terminal,a user terminal, a user agent, a user device, or user equipment.

The terminal 120 communicates with one or a plurality of access networkapparatuses 140 by a radio access network (RAN).

The access network apparatus 140 serves as a router between the terminal120 and the rest of an access network. The rest of the access networkmay include an Internet protocol network. The access network apparatus140 may also coordinate attribute management of an air interface. Forexample, the access network apparatus 140 may be a base transceiverstation (BTS) in a global system for mobile communication (GSM) or acode division multiple access (CDMA) system, a base station (NodeB) in awideband code division multiple access (WCDMA) system, or an eNB in anLTE or fifth generation (5G) communication system, which will not belimited by the present disclosure.

It should be noted that in the embodiment of the present disclosure,uplink refers to transmission from the terminal to the access networkapparatus via a wireless interface.

In the embodiment of the present disclosure, to make the terminal 120send data to the access network apparatus 140, the access networkapparatus 140 needs to allocate an uplink resource to the terminal 120first. The uplink resource may include a time-frequency resource, a coderesource, etc. After that, the terminal 120 sends the data to the accessnetwork apparatus 140 using the allocated uplink resource.

Since each terminal 120 may need to transmit various business datasimultaneously, and different business data is usually transmitted bydifferent logical channels, after acquiring the uplink resourceallocated by the access network apparatus 140, the terminal 120 needs toallocate the uplink resource to all the logical channels to transmit thedata of the logical channels.

In a 5G communication system, a new radio (NR) can support transmissionwith different sub-carrier spacing and/or TTI, or power requirements.Each possible transmission mode can be called a transmission profile.Different logical channels may have different requirements forsub-carrier spacing, TTI, etc. Therefore, during allocation of theuplink resource, different transmission requirements of differentlogical channels need to be considered to better perform datatransmission.

For example, since the ultra-reliable low-latency communication (URLLC)service requires a small TTI, the transmission profile that meets therequirement on TTI can be allocated to the logical channel correspondingto the URLLC service. During allocation of the uplink resource, theuplink resource of which the corresponding transmission profile is thesame as the transmission profile corresponding to the logical channelmay be preferentially allocated to the logical channel to ensure thatthe high demand of the service on time delay is met.

Embodiments of the present disclosure take that a method for allocatingan uplink resource is applied to the terminal 120 and the access networkapparatus 140 (hereinafter referred to as a base station) shown in FIG.1 as an example for schematic explanation.

Referring to FIG. 2, which is a flowchart of a method for allocating anuplink resource in accordance with one embodiment of the presentdisclosure. The present embodiment takes that the method for allocatingthe uplink resource is applied to the terminal 120 shown in FIG. 1 as anexample for explanation. The method includes the following steps.

In step 201, a UL grant sent by a base station is received.

The UL grant generally includes a terminal identifier, resourceallocation information, a transformat (e.g., a modulation and codingscheme (MCS)), etc., and is configured to inform the terminal on whichtime-frequency resources and how data can be sent.

In step 202, an uplink resource indicated by the UL grant is allocated,based on a transmission profile corresponding to a logical channel, tothe logical channel.

The transmission profile corresponding to the logical channel may beallocated by the base station, for example, using a radio resourcecontrol (RRC) message in a building process of a radio bearer. Eachtransmission profile includes an identifier/index, a sub-carrier spacing(or numerology), a TTI and a transmission profile priority, and mayfurther include a watt level, etc. One logical channel may correspond toone or a plurality of transmission profiles.

In the present embodiment, by allocating the corresponding transmissionprofile to the logical channel, the uplink resource that meets thetransmission profile of the logical channel can be preferentiallyallocated to the logical channel. Thus, transmission of the data on thelogical channel can be better guaranteed to meet requirements ofcommunication services.

Referring to FIG. 3, which is a flowchart of a method for allocating anuplink resource in accordance with one embodiment of the presentdisclosure. The present embodiment takes that the method for allocatingthe uplink resource is applied to a communication system shown in FIG. 1as an example for explanation. In the present embodiment, one logicalchannel is allocated with one corresponding transmission profile. Themethod includes the following steps.

In step 301, a base station sends transmission profile allocationinformation.

The transmission profile allocation information includes indicationinformation of one transmission profile set, which includes identifiersof transmission profiles in the transmission profile set and a priorityof each transmission profile. One transmission profile set includes atleast two transmission profiles. The transmission profile set is basedon a terminal. That is, each terminal corresponds to one transmissionprofile set. Different terminals may correspond to the same or differenttransmission profiles in the transmission profile set.

In a possible implementation mode, the base station and the terminal canappoint a plurality of transmission profiles through a protocol. Eachtransmission profile includes an identifier/index, a sub-carrier spacing(or numerology), a TTI, etc. In this case, the transmission profileallocation information sent by the base station may only include theidentifiers of the transmission profiles in the set and the priority ofeach transmission profile.

In another possible implementation mode, the transmission profileallocation information sent by the base station includes thetransmission profiles in the set and the priority of each transmissionprofile.

It should be noted that in the present embodiment, the indicationinformation of the transmission profile set includes the priority ofeach transmission profile in the transmission profile set, such thateach terminal may allocate different priorities to the same transmissionprofile. In other embodiments, if all the terminals adopt the samepriority for the same transmission profile, the indication informationof the transmission profile set may not include the priority of thetransmission profile.

Optionally, the transmission profile allocation information may furtherinclude indication information of the transmission profile correspondingto the logical channel. The transmission profile corresponding to thelogical channel may be a transmission profile that the logical channeltends to use. The indication information of the transmission profilecorresponding to the logical channel may directly include thetransmission profile that the logical channel tends to use, and may alsoinclude an identifier of the transmission profile that the logicalchannel tends to use, e.g., an index of the transmission profile thatthe logical channel tends to use in the transmission profile set.

During implementation, the transmission profile allocation informationmay be sent by an RRC message that may be sent in a building process ofa radio bearer.

Further, the indication information of the transmission profilecorresponding to the logical channel may be carried in a logical channelconfiguration allocated to the radio bearer to be sent. In addition to atransmission profile priority, the logical channel configuration mayfurther include a logical channel priority, a prioritized bit rate(PBR), a bucket size duration (BSD), etc. Further, the building processof the radio bearer may be a building process of a radio bearer duringestablishment of a connection, and may also be a building process of aradio bearer after establishment of the connection. For example, theradio bearer is built for data transmission of new services.

Optionally, the indication information of the transmission profilecorresponding to the logical channel and the indication information ofthe transmission profile set may be sent by the same RRC message and mayalso be sent by different RRC messages.

During implementation, the same transmission profile priority maycorrespond to one or a plurality of transmission profiles, which may beset according to actual needs.

In step 302, the terminal receives the transmission profile allocationinformation sent by the base station.

It is easy to know that after receiving the allocation information sentby the base station, the terminal will store it for later use.

In step 303, the base station sends a UL grant to the terminal.

The UL grant generally includes a terminal identifier, resourceallocation information, a transformat (e.g., MCS), etc. In the presentembodiment, the UL grant may further include information of atransmission profile corresponding to the UL grant, e.g., an identifierof the transmission profile, or a transmission profile parameter (e.g.,a TTI and a sub-carrier spacing).

During implementation, one UL grant may correspond to one or a pluralityof transmission profiles, which can be determined by the base stationbased on actual needs. Further, one UL grant may carry allocationinformation of a plurality of time-frequency resource blocks and atransmission profile corresponding to each time-frequency resourceblock. The plurality of time-frequency resource blocks in the UL grantmay correspond to the same transmission profile, and at this time, theUL grant corresponds to one transmission profile. Alternatively, theplurality of time-frequency resource blocks in the UL grant maycorrespond to different transmission profiles, and then, the UL grantcorresponds to a plurality of transmission profiles. In this case, theUL grant may indicate uplink resources corresponding to priorities ofthe different transmission profiles, which can be implemented flexibly.

The transmission profiles corresponding to the plurality of UL grantsmay be partially or totally the same or totally different.

In step 304, the terminal receives the UL grant.

In step 304, the terminal may receive one or a plurality of UL grants.

During implementation, the terminal may support a plurality of carriers,can transmit data on the plurality of carriers, and therefore canreceive the UL grants on the plurality of carriers respectively toobtain the plurality of UL grants.

In step 305, the terminal determines a transmission profilecorresponding to the uplink resource indicated by the UL grant.

in the present embodiment, since the UL grant includes the informationof the transmission profile corresponding to the UL grant, the terminalcan directly acquire the information of the transmission profilecorresponding to the UL grant from the UL grant to determine thepriority of the transmission profile corresponding to each UL grant.

Optionally, step 305 may include: acquiring an identifier of atransmission profile corresponding to the uplink resource from the ULgrant (it may be realized by a physical layer of the terminal), anddetermining, based on the identifier of the transmission profile, thetransmission profile corresponding to the uplink resource (it can berealized by an MAC layer of the terminal).

Alternatively, step 305 may include: acquiring a transmission profileparameter corresponding to the uplink resource from the UL grant (it maybe realized by a physical layer of the terminal), and determining, basedon the acquired transmission profile parameter, a transmission profilecorresponding to the uplink resource (it may be realized by an MAC layerof the terminal).

In step 305, the transmission profile corresponding to the uplinkresource is determined by the information carried by the UL grant, whichis simple to implement.

In step 306, the terminal allocates, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource indicated by the UL grant, theuplink resource to the logical channel which requires to transmit data,

Optionally, the terminal can sequentially allocate the uplink resourceto all the logical channels that require to transmit data in the orderof the logical channel priority from high to low. That is, the terminalallocates the uplink resource to the logical channel with a high logicalchannel priority first, and then, allocates the uplink resource to thelogical channel with a secondary high logical channel priority, and soforth.

During allocation of the uplink resource, a first uplink resource ispreferentially allocated to a first logical channel. The first logicalchannel is a logical channel allocated with the correspondingtransmission profile and requiring to transmit data. The first uplinkresource is an unallocated uplink resource of which a correspondingtransmission profile is the same as a transmission profile of the firstlogical channel. Thus, step 306 may include: when a first uplinkresource exists and the quantity of the first uplink resource is largerthan or equal to a quantity of resources required by a first logicalchannel, allocating an uplink resource to the first logical channel fromthe first uplink resource.

Optionally, step 306 may further include:

When the first uplink resource does not exist or the quantity of thefirst uplink resource is smaller than the quantity of resources requiredby the first logical channel, all the first uplink resource is allocatedto the first logical channel first, and then, the uplink resource forwhose allocation the first uplink resource is insufficient is allocatedby any of the following ways:

allocating an uplink resource to the first logical channel from a seconduplink resource, wherein the second uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is higher than that of the transmission profile corresponding tothe first logical channel; or

allocating an uplink resource to the first logical channel from a thirduplink resource, wherein the third uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is lower than that of the transmission profile corresponding tothe first logical channel; or

allocating an uplink resource to the first logical channel from a fourthuplink resource, wherein the fourth uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is equal to that of the transmission profile corresponding tothe first logical channel; or

stopping allocating an uplink resource to the first logical channel.

In practice, for the first uplink resource that is insufficient toallocate, an uplink resource is allocated to the first logical channelfrom other uplink resources (e.g., the second uplink resource, the thirduplink resource or the fourth uplink resource) as soon as all the firstuplink resource is allocated to the first logical channel, or, an uplinkresource is allocated to the first logical channel from other uplinkresources after the uplink resource corresponding to the correspondingtransmission profile is allocated to all the logical channels.

Further, the uplink resource may be allocated to the first logicalchannel from the second uplink resource in the order (from high to lowor from low to high) of the priority of the transmission profilecorresponding to the uplink resource. For example, the uplink resourcecorresponding to the transmission profile with the highest priority maybe selected from the second uplink resource first, and whether theselected uplink resource meets the quantity of resources required by thefirst logical channel is judged. If yes, the uplink resource isallocated to the first logical channel from the uplink resourcecorresponding to the transmission profile with the highest priority. Ifnot, the uplink resource corresponding to the selected priority isallocated to the first logical channel first, then, an uplink resourcecorresponding to the transmission profile with the secondary highpriority is selected from the second uplink resource, whether theselected uplink resource meets the quantity of rest resources requiredby the first logical channel is judged, and so forth till all the uplinkresources indicated by the UL grant are allocated or the uplinkresources are allocated to all data required to be transmitted by thelogical channels. Certainly, the uplink resource may also be randomlyselected from the second uplink resource and allocated to the firstlogical channel in addition to the high-low order of the priority of thetransmission profile corresponding to the uplink resource.

The way in which the uplink resource is allocated to the first logicalchannel from the third uplink resource is similar to that in which theuplink resource is allocated to the first logical channel from thesecond uplink resource, and therefore, will not be described in detailherein.

Since in the foregoing process of allocating the uplink resource,whether the quantity of the uplink resource corresponding to a certaintransmission profile meets the quantity of resources required by thefirst logical channel needs to be judged, the terminal also needs tocalculate the sum of the uplink resources corresponding to thetransmission profiles. Every time the uplink resource is allocated, thequantity of the allocated uplink resources is subtracted from thecorresponding sum to obtain the quantity of the unallocated uplinkresources.

It should be noted that similar to a long-term evolution (LTE) system,the terminal may also adopt a two-round method to allocate the uplinkresource to the logical channel.

If the two-round method is adopted to allocate the uplink resource tothe logical channel, step 307 may include the following sub-steps.

The first round of resource allocation is performed based on a PBR ofeach logical channel. If there are some uplink resources indicated bythe UL grant remaining after the first round of resource allocation, thesecond round of resource allocation is performed on the logical channelthat requires to transmit remaining data, till the uplink resourcesindicated by the UL grant are all allocated or the uplink resources areallocated to all data required to be transmitted by the logical channel.

In the first round of resource allocation, the quantity of resourcesrequired by each logical channel is determined by the PBR. At this time,when the first uplink resource does not exist or the quantity of thefirst uplink resource is smaller than the quantity of resources requiredby the first logical channel, allocation of the uplink resource to thefirst logical channel is stopped.

In the second round of resource allocation, the quantity of resourcesrequired by each logical channel is determined by the quantity ofremaining data required to transmitted. At this time, when the firstuplink resource does not exist or the quantity of the first uplinkresource is smaller than the quantity of resources required by the firstlogical channel, the uplink resource will be allocated to the firstlogical channel from the second uplink resource or the third uplinkresource till all the uplink resources indicated by the UL grant areallocated.

It should be noted that in the two rounds of allocation, when the firstuplink resource exists and the quantity of the first uplink resource islarger than or equal to the quantity of resources required by the firstlogical channel, the uplink resource is naturally and preferentiallyallocated to the first logical channel from the first uplink resource.Thus, it is only emphasized the case that in the two rounds of resourceallocation, the first uplink resource does not exist or the quantity ofthe first uplink resource is smaller than the quantity of resourcesrequired by the first logical channel.

Certainly, in another implementation mode of the present embodiment, theterminal may also adopt a one-round method to allocate resources to thelogical channel.

Allocating the uplink resource indicated by the UL grant to the logicalchannel based on the transmission profile corresponding to the logicalchannel can be completed in steps 305 and 306. By determining thetransmission profile corresponding to the uplink resource indicated bythe UL grant, the uplink resource that meets the transmission profilecorresponding to the logical channel may be selected and allocated tothe corresponding logical channel.

Optionally, the base station may only allocate the correspondingtransmission profile to part of the logical channels of the terminal. Inthe present embodiment, the logical channels unallocated with thetransmission profile may he called the second logical channels. Theuplink resource may be allocated to the second logical channel in theorder of the priorities of the transmission profiles corresponding tothe uplink resources from high to low or from low to high.

Optionally, the method provided by the present embodiment may furtherinclude: determining whether a transmission profile corresponding to anuplink resource indicated by the UL grant belongs to a pre-allocatedtransmission profile set; and if riot, not allocating an uplink resourcecorresponding to the transmission profile that does not belong to thetransmission profile set, or determining a priority of the transmissionprofile that does not belong to the transmission profile set as aminimum priority. If the transmission profile corresponding to theuplink resource indicated by the UL grant does not belong to thepre-allocated transmission profile set, a priority of a transmissionprofile in the transmission profile set serves as a priority of atransmission profile that belongs to the transmission profile set.

In the present embodiment, by allocating the corresponding transmissionprofile to the logical channel, the uplink resource that meets thetransmission profile of the logical channel can he preferentiallyallocated to the logical channel. Thus, transmission of data on thelogical channel can be guaranteed better to meet requirements ofcommunication services.

Referring to FIG. 4, which is a flowchart of a method for allocating anuplink resource in accordance with one embodiment of the presentdisclosure. The present embodiment takes that the method for allocatingthe uplink resource is applied to a communication system shown in FIG Ias an example for explanation. In the present embodiment, one logicalchannel is allocated with at least two corresponding transmissionprofiles. The method includes the following steps.

In step 401, a base station sends transmission profile allocationinformation.

The transmission profile allocation information includes indicationinformation of a transmission profile corresponding to at least onelogical channel. The indication information of the transmission profilecorresponding to the logical channel may directly include thetransmission profile and may also include an identifier of atransmission profile that the logical channel tends to use. In thepresent embodiment, the logical channel corresponds to at least twotransmission profiles. The indication information of the transmissionprofiles corresponding to the logical channel may further includepriorities of the transmission profiles.

In a possible implementation mode, the base station and a terminal canappoint a plurality of transmission profiles through a protocol. Eachtransmission profile includes an identifier/index, a sub-carrier spacing(or numerology), a TTI, etc. In this case, the indication information ofthe transmission profile corresponding to the logical channel mayinclude an identifier of the transmission profile corresponding to thelogical channel and a priority of each transmission profile. Forexample, the indication information of transmission profilescorresponding to a logical channel I includes a transmission profile 0,a transmission profile 1 and a transmission profile 3 of which thepriorities are respectively 1, 2 and 3. The indication information oftransmission profiles corresponding to a logical channel 2 include atransmission profile 0, a transmission profile 2 and a transmissionprofile 5 of which the priorities are respectively 1, 2 and 3.

In another possible implementation mode, the indication information ofthe transmission profile corresponding to the logical channel includetransmission profiles and a priority of each transmission profile.

It should be noted that in the present embodiment, the indicationinformation of the transmission profile corresponding to the logicalchannel includes the priority of the transmission profile, such thatdifferent priorities may be allocated to the same transmission profile.Thus, the use is more flexible. In other embodiments, the same priorityis adopted for the same transmission profile, the indication informationof the transmission profile corresponding to the logical channel may notinclude the priority of the transmission profile.

During implementation, the transmission profile allocation informationmay be sent by an RRC message that may be sent in a building process ofa radio bearer.

Further, the indication information of the transmission profilecorresponding to the logical channel may be carried in a logical channelconfiguration allocated to the radio bearer to be sent. In addition to atransmission profile priority, the logical channel configuration mayfurther include a logical channel priority, a prioritized bit rate(PBR), a bucket size duration (BSD), etc. Further, the building processof the radio bearer may be a building process of a radio bearer duringestablishment of a connection, and may also be a building process of aradio bearer after establishment of the connection. For example, theradio bearer is built for data transmission of new services.

Optionally, the transmission profile allocation information may furtherinclude indication information of a default transmission profile, whichis configured to indicate a transmission profile preferentially used bya logical channel unallocated with a corresponding transmission profile.There may be one or a plurality of default transmission profiles. Ifthere is a plurality of default transmission profiles, the indicationinformation of the default transmission profile may further include apriority among the default transmission profiles.

Optionally, the indication information of the transmission profilecorresponding to the logical channel and the indication information ofthe default transmission profile may be sent by the same RRC message andmay also be sent by different RRC messages. Certainly, the base stationmay not send the indication information of the default transmissionprofile to the terminal. That is, the default transmission profile isnot allocated.

In step 402, the terminal receives the transmission profile allocationinformation sent by the base station.

In step 403, the base station sends a UL grant to the terminal.

In step 404, the terminal receives the LL grant.

In step 405, the terminal determines a transmission profilecorresponding to an uplink resource indicated by the UL grant.

Referring to steps 302 to 305 for the implementation modes of steps 402to 405, which will not be described in detail herein.

In step 406, the terminal allocates, based on the plurality oftransmission profiles corresponding to the logical channel and thetransmission profile corresponding to the uplink resource indicated bythe UL grant, the uplink resource to the logical channel which requiresto transmit data.

Optionally, the terminal can sequentially allocate the uplink resourceto all the logical channels that require to transmit data in the orderof the logical channel priority from high to low. That is, the terminalallocates the uplink resource to the logical channel with a high logicalchannel priority first, and then, allocates the uplink resource to thelogical channel with a secondary high logical channel priority, and soforth.

During allocation of the uplink resource, a first uplink resource ispreferentially allocated to a first logical channel. The first logicalchannel is a logical channel allocated with the correspondingtransmission profile and requiring to transmit data. The first uplinkresource is an unallocated uplink resource of which a correspondingtransmission profile is the same as a transmission profile of the firstlogical channel. Since the first logical channel corresponds to at leasttwo transmission profiles in the present embodiment, step 406 mayinclude:

selecting and allocating an uplink resource corresponding to atransmission profile to a first logical channel in the order ofpriorities of a plurality of transmission profiles, from high to low,corresponding to the logical channel.

Further, during allocation of the uplink resource to the first logicalchannel, the uplink resource corresponding to the transmission profilewith the highest priority is selected from the plurality ofcorresponding transmission profiles and allocated to the first logicalchannel first. If the uplink resource corresponding to the transmissionprofile with the highest priority fails to meet the quantity ofresources required by the first logical channel, the uplink resourcecorresponding to the transmission profile with the highest priority isallocated to the first logical channel first, then, an uplink resourcecorresponding to the transmission profile with the secondary highpriority is selected and allocated to the first logical channel, and soforth till the first logical channel is allocated with enough resourcesor all the uplink resources corresponding to the plurality oftransmission profiles are allocated to the first logical channel.

Optionally, step 406 may further include:

when the uplink resources corresponding to the plurality of transmissionprofiles corresponding to the logical channel are insufficient to meetthe demand on the quantity of resources required by the logical channel,allocating an uplink resource to the logical channel by the followingways:

allocating an uplink resource corresponding to a transmission profileother than the transmission profile corresponding to the logical channelto the logical channel; or

after allocating uplink resources, based on the plurality ofcorresponding allocated transmission profiles, to all the logicalchannels once, allocating an uplink resource corresponding to atransmission profile other than the transmission profile correspondingto the logical channel to the logical channel; or

stopping allocating an uplink resource to the logical channel.

An uplink resource corresponding to a transmission profile other thanthe transmission profile corresponding to the logical channel may beallocated to the logical channel in the order of the priorities of thetransmission profiles from high to low or from low to high.Alternatively, the transmission profiles are sequentially selected atrandom.

It should be noted that in the present embodiment, the terminal may alsoadopt a two-round method to allocate the uplink resource to the logicalchannel. Referring to step 306 for the two-round allocation method,which will not be described in detail herein. Certainly, the terminalmay also adopt a one-round method to allocate the uplink resource to thelogical channel.

Optionally, step 406 may further include: allocating, based on a defaulttransmission profile and a transmission profile corresponding to theuplink resource, an uplink resource to a second logical channel. Thesecond logical channel is a logical channel unallocated with acorresponding transmission profile.

If the base station allocates a plurality of default transmissionprofiles to the terminal, the uplink resource may be allocated to thesecond logical channel in the order of the priorities of the pluralityof default transmission profiles from high to low. If the base stationdoes not allocate a default transmission profile to the terminal, theterminal may optionally select and allocate the uplink resource to thesecond logical channel.

In the present embodiment, by allocating the corresponding transmissionprofile to the logical channel, the uplink resource that meets thetransmission profile of the logical channel can be preferentiallyallocated to the logical channel. Thus, transmission of data on thelogical channel can be guaranteed better to meet requirements ofcommunication services.

Device embodiments of the present disclosure will be described below.

Referring to the one-to-one corresponding method embodiments for detailsthat are not described in the device embodiments.

Referring to FIG. 5, which is a structural block diagram of a device forallocating an uplink resource in accordance with one embodiment of thepresent disclosure. The device for allocating the uplink resourcebecomes all or part of the terminal 120 in FIG. 1 by hardware or acombination of hardware and software. The device includes a receivingunit 510 and an allocating unit 520.

The receiving unit 510 is configured to receive a UL grant sent by abase station. The allocating unit 520 is configured to allocate, basedon a transmission profile corresponding to a logical channel, an uplinkresource indicated by the UL grant the receiving unit 510 receives tothe logical channel. The transmission profile corresponding to thelogical channel is allocated by the base station.

Referring to FIG. 6, which is a structural block diagram of a device forallocating an uplink resource in accordance with one embodiment of thepresent disclosure.

Referring to FIG-. 6, which is a structural block diagram of a devicefor allocating an uplink resource in accordance with one embodiment ofthe present disclosure. The device for allocating the uplink resourcebecomes all or part of the terminal 120 in FIG. 1 by hardware or acombination of hardware and software. The device includes a receivingunit 610 and an allocating unit 620

The receiving unit 610 is configured to receive a UL grant sent by abase station. The allocating unit 620 is configured to allocate, basedon a transmission profile corresponding to a logical channel, an uplinkresource indicated by the UL grant the receiving unit 610 receives tothe logical channel. The transmission profile corresponding to thelogical channel is allocated by the base station

In a possible implementation mode, the allocating unit 620 includes adetermining sub-unit 620 and an allocating sub-unit 622. The determiningsub-unit 621 is configured to determine a transmission profilecorresponding to the uplink resource indicated by the received UL grant.The allocating sub-unit 622 is configured to allocate, based on thetransmission profile corresponding to the logical channel and thetransmission profile corresponding to the uplink resource, an uplinkresource indicated by the UL grant to the logical channel.

Optionally, the uplink resource indicated by each of the UL grantsincludes one or a plurality of time-frequency resource blocks. Eachtime-frequency resource block corresponds to one transmission profile.

Optionally, the determining sub-unit 621 is configured to acquire anidentifier of a transmission profile corresponding to the uplinkresource from the UL grant, and determine the transmission profilecorresponding to the uplink resource based on the identifier of thetransmission profile. Alternatively, the determining sub-unit 621 isconfigured to acquire a transmission profile parameter corresponding tothe uplink resource from the UL grant, and determine the transmissionprofile corresponding to the uplink resource based on the acquiredtransmission profile parameter.

Optionally, the allocating unit 620 may further include a judgingsub-unit 623 and a priority determining sub-unit 624. The judgingsub-unit 623 is configured to judge whether a transmission profilecorresponding to an uplink resource indicated by the UL grant belongs toa pre-allocated transmission profile set. The transmission profile setincludes a transmission profile corresponding to the logical channel.

The priority determining sub-unit 624 is configured not to, if thejudging sub-unit determines that the transmission profile correspondingto the uplink resource indicated by the UL grant does not belong to apre-allocated transmission profile set, allocate an uplink resourcecorresponding to the transmission profile that does not belong to thetransmission profile set, or determine a priority of the transmissionprofile that does not belong to the transmission profile set as aminimum priority.

Optionally, the logical channel corresponds to one or a plurality oftransmission profiles.

Optionally, when the logical channel corresponds to one transmissionprofile, the allocating sub-unit is configured to, when a first uplinkresource exists, and the quantity of the first uplink resource is largerthan or equal to the quantity of resources required by a first logicalchannel, allocate an uplink resource to the fiat logical channel fromthe first uplink resource. The first uplink resource is an unallocateduplink resource of which a corresponding transmission profile is thesame as a transmission profile corresponding to the first logicalchannel. The first logical channel is any one of the logical channelsallocated with a corresponding transmission profile.

Further, the allocating sub-unit is further configured to, when thefirst uplink resource does not exist or the quantity of the first uplinkresource is smaller than the quantity of resources required by the firstlogical channel, the uplink resource for whose allocation the firstuplink resource is insufficient is allocated by any one of the followingways:

allocating an uplink resource to the first logical channel from a seconduplink resource, wherein the second uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is higher than that of the transmission profile corresponding tothe first logical channel; or

allocating an uplink resource to the first logical channel from a thirduplink resource, wherein the third uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is lower than that of the transmission profile corresponding tothe first logical channel; or

allocating an uplink resource to the first logical channel from a fourthuplink resource, wherein the fourth uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is equal to that of the transmission profile corresponding tothe first logical channel; or

stopping allocating an uplink resource to the first logical channel.

Optionally, when the logical channel corresponds to a plurality oftransmission profiles, the allocating sub-unit is configured to, selectand allocate an uplink resource corresponding to a transmission profileto a first logical channel in the order of priorities of a plurality oftransmission profiles, from high to low, corresponding to the logicalchannel. The first logical channel is any one of the logical channelsallocated with the corresponding transmission profile.

Further, the allocating sub-unit is further configured to: when theuplink resources corresponding to the plurality of transmission profilescorresponding to the logical channel are insufficient to meet the demandon the quantity of resources required by the logical channel, allocatean uplink resource to the logical channel by the following ways:

allocating an uplink resource corresponding to a transmission profileother than the transmission profile corresponding to the logical channelto the logical channel; or

after allocating uplink resources, based on the plurality ofcorresponding allocated transmission profiles, to all the logicalchannels once, allocating an uplink resource corresponding to atransmission profile other than the transmission profile correspondingto the logical channel to the logical channel; or

stopping allocating an uplink resource to the logical channel.

Optionally, the allocating unit is further configured to, allocate anuplink resource to a second logical channel in the order of the priorityof the transmission profile corresponding to the uplink resource fromhigh to low or from low to high. The second logical channel is a logicalchannel unallocated with the transmission profile.

Optionally, the allocating unit is further configured to allocate, basedon a default transmission profile and a transmission profilecorresponding to the uplink resource, an uplink resource to a secondlogical channel. The second logical channel is a logical channelunallocated with a corresponding transmission profile. The defaulttransmission profile is pre-allocated by the base station.

Optionally, the receiving unit is further configured to receivetransmission profile allocation information sent by a base station. Thetransmission profile allocation information includes at least one ofindication information of a default transmission profile, indicationinformation of a transmission profile set and indication information ofa transmission profile corresponding to a logical channel. Theindication information of the default transmission profile is configuredto indicate a transmission profile preferentially used by a logicalchannel unallocated with a corresponding transmission profile. Thetransmission profile set includes a transmission profile correspondingto the logical channel.

Referring to FIG. 7, which is a schematic structural view of a terminalin accordance with one embodiment of the present disclosure. Theterminal 700 is the terminal 120 in FIG. 1.

Referring to FIG. 7, the terminal 700 may include one or more of thefollowing components: a processing component 702, a memory 704, a powercomponent 706, a multimedia component 708, an audio component 710, aninput/output (I/O) interface 712, a sensor component 714, and acommunication component 716.

The processing component 702 typically controls the overall operationsof the terminal 700, such as the operations associated with display,telephone calls, data communications, camera operations, and recordingoperations. The processing component 702 may include one or moreprocessors 820 to execute instructions to perform all or part of thesteps in the above described methods. Moreover, the processing component702 may include one or more modules which facilitate the interactionbetween the processing component 702 and other components. For instance,the processing component 702 may include a multimedia module tofacilitate the interaction between the multimedia component 708 and theprocessing component 702.

The memory 704 is configured to store various types of data to supportthe operation of the terminal 700. Examples of such data includeinstructions for any applications or methods operated on the terminal700, contact data, phonebook data, messages, pictures, videos, etc. Thememory 704 may be implemented by using any type of volatile ornon-volatile memory devices, or a combination thereof, such as a staticrandom access memory (SRAM), an electrically erasable programmableread-only memory (EEPROM), an erasable programmable read-only memory(EPROM), a programmable read-only memory (PROM), a read-only memory(ROM), a magnetic memory, a flash memory, a magnetic or optical disk.

The power component 706 provides power to various components of theterminal 700. The power component 706 may include a power managementsystem, one or more power sources, and any other components associatedwith the generation, management, and distribution of power in theterminal 700.

The multimedia component 708 includes a screen providing an outputinterface between the terminal 700 and the user. In some embodiments,the screen may include a liquid crystal display (LCD) and a touch panel(TP). If the screen includes the touch panel, the screen may beimplemented as a touch screen to receive input signals from the user.The touch panel includes one or more touch sensors to sense touches,swipes, and gestures on the touch panel. The touch sensors may not onlysense a boundary of a touch or swipe action, but also sense the durationand pressure associated with the touch or swipe action. In someembodiments, the multimedia component 708 includes a front camera and/ora rear camera. The front camera and the rear camera may receive externalmultimedia data while the terminal 700 is in an operation mode, such asa photographing mode or a video mode. Each of the front camera and therear camera may be a fixed optical lens system or have focus and opticalzoom capability.

The audio component 710 is configured to output and/or input audiosignals. For example, the audio component 710 includes a microphone(MIC) configured to receive external audio signals when the terminal 700is in an operation mode, such as a call mode, a recording mode, and avoice recognition mode. The received audio signal may be further storedin the memory 704 or transmitted via the communication component 716. Insome embodiments, the audio component 710 further includes a speaker foroutputting audio signals.

The I/O interface 712 provides an interface between the processingcomponent 702 and peripheral interface modules, such as a keyboard, aclick Wheel, buttons, and the like. The buttons may include, but are notlimited to, a home button, a volume button, a start button, and a lockbutton.

The sensor component 714 includes one or more sensors to provide statusassessments of various aspects of the terminal 700. For instance, thesensor component 714 may detect an on/off status of the terminal 700,relative positioning of components, e.g., the display device and themini keyboard of the terminal 700, and the sensor component 714 may alsodetect a position change of the terminal 700 or a component of theterminal 700, presence or absence of user contact with the terminal 700,orientation or acceleration/deceleration of the terminal 700, andtemperature change of the terminal 700. The sensor component 714 mayinclude a proximity sensor configured to detect the presence of nearbyobjects without any physical contact. The sensor component 714 may alsoinclude a light sensor, such as a CMOS or CCD image sensor, used forimaging applications. In some embodiments, the sensor component 714 mayalso include an accelerometer sensor, a gyroscope sensor, a magneticsensor, a pressure sensor, or a temperature sensor.

The communication component 716 is configured to facilitatecommunication, wired or wirelessly, between the terminal 700 and otherdevices. The terminal 700 can access a wireless network based on acommunication standard, such as Wi-Fi, 2G, or 3G, or a combinationthereof. In an exemplary embodiment, the communication component 716receives broadcast signals or broadcast associated information from anexternal broadcast management system via a broadcast channel. In anexemplary embodiment, the communication component 716 further includes anear field communication (NEC) module to facilitate short-rangecommunications. For example, the NFC module may be implemented based ona radio frequency identification (RFID) technology, an infrared dataassociation (IrDA) technology, an ultra-wideband (UWB) technology, aBluetooth (BT) technology, and other technologies.

In exemplary embodiments, the terminal 700 may be implemented with oneor more application specific integrated circuits (ASICs), digital signalprocessors (DSPs), digital signal processing devices (DSPDs),programmable logic devices (PLDs), field programmable gate arrays(FPGAs), controllers, micro-controllers, microprocessors, or otherelectronic components, for performing the above described methods.

In exemplary embodiments, a non-transitory computer-readable storagemedium including instructions is also provided, such as the memory 704including instructions, executable by the processor 820 in the terminal700, for performing the above-described methods. For example, thenon-transitory computer-readable storage medium may be a ROM, a RAM, aCD-ROM, a magnetic tape, a floppy disc, an optical data storage device,and the like.

When the instruction in the non-temporary computer-readable storagemedium is executed by the processor of the terminal, the terminal canexecute a method for allocating an uplink resource. The method includes:receiving a UL grant sent by a base station; and allocating, based on atransmission profile corresponding to a logical channel, an uplinkresource indicated by the UL grant to the logical channel. Thetransmission profile corresponding to the logical channel is allocatedby the base station.

Optionally, said allocating, based on a transmission profilecorresponding to a logical channel, an uplink resource indicated by theUL grant to the logical channel includes: determining a transmissionprofile corresponding to the uplink resource indicated by the receivedUL grant; and allocating, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel.

Optionally, the uplink resource indicated by each of the UL grantsincludes one or a plurality of time-frequency resource blocks. Eachtime-frequency resource block corresponds to one transmission profile.During implementation, the uplink resources in one UL grant maycorrespond to the same transmission profile or different transmissionprofiles.

Optionally, said determining a transmission profile corresponding to theuplink resource indicated by the received UL grant includes: acquiringan identifier of a transmission profile corresponding to the uplinkresource from the UL grant, and determining, based on the identifier ofthe transmission profile, the transmission profile corresponding to theuplink resource. Alternatively, said determining a transmission profilecorresponding to the uplink resource indicated by the received UL grantincludes: acquiring a transmission profile parameter corresponding tothe uplink resource from the UL grant, and determining, based on theacquired transmission profile parameter, the transmission profilecorresponding to the uplink resource.

Optionally, said allocating, based on a transmission profilecorresponding to a logical channel, an uplink resource indicated by theUL grant to the logical channel further includes:

judging whether a transmission profile corresponding to an uplinkresource indicated by the UL grant belongs to a pre-allocatedtransmission profile set, wherein the transmission profile set includesa transmission profile corresponding to the logical channel; and if not,not allocating an uplink resource corresponding to the transmissionprofile that does not belong to the transmission profile set, ordetermining a priority of the transmission profile that does not belongto the transmission profile set as a minimum priority.

In a possible implementation mode of the present disclosure, the logicalchannel corresponds to one transmission profile. Said allocating, basedon the transmission profile corresponding to the logical channel and thetransmission profile corresponding to the uplink resource, an uplinkresource indicated by the UL grant to the logical channel includes: whena first uplink resource exists, and the quantity of the first uplinkresource is larger than or equal to the quantity of resources requiredby a first logical channel, allocating an uplink resource to the firstlogical channel from the first uplink resource. The first uplinkresource is an unallocated uplink resource of which a correspondingtransmission profile is the same as a transmission profile correspondingto the first logical channel. The first logical channel is any one ofthe logical channels allocated with a corresponding transmissionprofile.

Further, said allocating, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel further includes: when the firstuplink resource does not exist or the quantity of the first uplinkresource is smaller than the quantity of resources required by the firstlogical channel, the uplink resource for Whose allocation the firstuplink resource is insufficient is allocated by any one of the followingways:

allocating an uplink resource to the first logical channel from a seconduplink resource, wherein the second uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is higher than that of the transmission profile corresponding tothe first logical channel; or allocating an uplink resource to the firstlogical channel from a third uplink resource, wherein the third uplinkresource is an unallocated uplink resource of which a priority of acorresponding transmission profile is lower than that of thetransmission profile corresponding to the first logical channel; orallocating an uplink resource to the first logical channel from a fourthuplink resource, wherein the fourth uplink resource is an unallocateduplink resource of which a priority of a corresponding transmissionprofile is equal to that of the transmission profile corresponding tothe first logical channel; or stopping allocating an uplink resource tothe first logical channel.

In a possible implementation mode of the present disclosure, when thelogical channel corresponds to a plurality of transmission profiles,said allocating, based on the transmission profile corresponding to thelogical channel and the transmission profile corresponding to the uplinkresource, an uplink resource indicated by the UL grant to the logicalchannel includes:

selecting and allocating an uplink resource corresponding to atransmission profile to a first logical channel in the order ofpriorities of a plurality of transmission profiles, from high to low,corresponding to the logical channel. The first logical channel is anyof the logical channels allocated with the corresponding transmissionprofile.

Further, said allocating, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel includes:

when the uplink resources corresponding to the plurality of transmissionprofiles corresponding to the logical channel are insufficient to meetthe demand on the quantity of resources required by the logical channel,allocating an uplink resource to the logical channel by the followingways:

allocating an uplink resource corresponding to a transmission profileother than the transmission profile corresponding to the logical channelto the logical channel; or after allocating uplink resources, based onthe plurality of corresponding allocated transmission profiles, to allthe logical channels once, allocating an uplink resource correspondingto a transmission profile other than the transmission profilecorresponding to the logical channel to the logical channel; or stoppingallocating an uplink resource to the logical channel.

Optionally, said allocating, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel further includes: allocating anuplink resource to a second logical channel in the order of the priorityof the transmission profile corresponding to the uplink resource fromhigh to low or from low to high. The second logical channel is a logicalchannel unallocated with a corresponding transmission profile.

Optionally, said allocating, based on a transmission profilecorresponding to a logical channel and a transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel further includes: allocating, basedon a default transmission profile and a transmission profilecorresponding to the uplink resource, an uplink resource to a secondlogical channel. The second logical channel is a logical channelunallocated with a corresponding transmission profile. The defaulttransmission profile is pre-allocated by the base station.

Optionally, the method further includes: receiving transmission profileallocation information sent by a base station. The transmission profileallocation information includes at leak one of indication information ofa default transmission profile, indication information of a transmissionprofile set and indication information of a transmission profilecorresponding to a logical channel. The indication information of thedefault transmission profile is configured to indicate a transmissionprofile preferentially used by a logical channel unallocated with acorresponding transmission profile. The transmission profile setincludes transmission profiles corresponding to all the logicalchannels.

Other embodiments of the present disclosure will be apparent to thoseskilled in the art from consideration of the specification and practiceof the present disclosure. This application is intended to cover anyvariations, uses, or adaptations of the present disclosure following thegeneral principles thereof and including common knowledge or commonlyused technical measures which are not disclosed herein. Thespecification and embodiments are to be considered as exemplary only,with a true scope and spirit of the present disclosure is indicated bythe following claims.

It will he appreciated that the present disclosure is not limited to theexact construction that has been described above and illustrated in theaccompanying drawings, and that various modifications and changes can bemade without departing from the scope thereof. It is intended that thescope of the present disclosure is only limited by the appended claims.

1. A method for allocating an uplink resource, comprising: receiving anuplink (UL) grant sent by a base station; and allocating, based on atransmission profile corresponding to a logical channel, an uplinkresource indicated by the UL grant to the logical channel, wherein thetransmission profile corresponding to the logical channel is configuredby the base station.
 2. The method according to claim 1, wherein theallocating, based on a transmission profile corresponding to a logicalchannel, an uplink resource indicated by the UL grant to the logicalchannel comprises: determining a transmission profile corresponding tothe uplink resource indicated by the received UL grant and allocating,based on the transmission profile corresponding to the logical channeland the transmission profile corresponding to the uplink resource, anuplink resource indicated by the UL grant to the logical channel.
 3. Themethod according to claim 2, wherein the uplink resource indicated byeach of the UL grants comprises one or a plurality of time-frequencyresource blocks, and each time-frequency resource block corresponds toone transmission profile.
 4. The method according to claim 2, whereinthe determining a transmission profile corresponding to the uplinkresource indicated by the received UL grant comprises: acquiring anidentifier of a transmission profile corresponding to the uplinkresource from the UL grant, and determining, based on the identifier ofthe transmission profile, the transmission profile corresponding to theuplink resource; or the determining a transmission profile correspondingto the uplink resource indicated by the received UL grant comprises:acquiring a transmission profile parameter corresponding to the uplinkresource from the UL grant, and determining, based on the acquiredtransmission profile parameter, the transmission profile correspondingto the uplink resource.
 5. The method according to claim 2, wherein theallocating, based on a transmission profile corresponding to a logicalchannel, an uplink resource indicated by the UL grant to the logicalchannel further comprises: determining whether a transmission profilecorresponding to an uplink resource indicated by the UL grant belongs toa pre-configured transmission profile set, wherein the transmissionprofile set comprises a transmission profile corresponding to thelogical channel; and not allocating an uplink resource corresponding tothe transmission profile that does not belong to the transmissionprofile set, or determining a priority of the transmission profile thatdoes not belong to the transmission profile set as a minimum priorityupon it is determined that the transmission profile corresponding to theuplink resource indicated by the UL grant does not below to thepre-configured transmission profile set.
 6. The method according toclaim 1, wherein the logical channel corresponds to one or a pluralityof transmission profiles.
 7. The method according to claim 1, wherein ina case that the logical channel corresponds to one transmission profile,the allocating, based on the transmission profile corresponding to thelogical channel and the transmission profile corresponding to the uplinkresource, an uplink resource indicated by the UL grant to the logicalchannel comprises: upon that a first uplink resource exists, and thequantity of the first uplink resource is larger than or equal to thequantity of resources required by a first logical channel, allocating anuplink resource to the first logical channel from the first uplinkresource, wherein the first uplink resource is an unallocated uplinkresource of which a corresponding transmission profile is the same as atransmission profile corresponding to the first logical channel, and thefirst logical channel is any of the logical channels configured with acorresponding transmission profile.
 8. The method according to claim 7,wherein the allocating, based on the transmission profile correspondingto the logical channel and the transmission profile corresponding to theuplink resource, an uplink resource indicated by the UL grant to thelogical channel further comprises: when the first uplink resource doesnot exist or the quantity of the first uplink resource is smaller thanthe quantity of resources required by the first logical channel, theuplink resource for whose allocation the first uplink resource isinsufficient is allocated by any one of the following ways: allocatingan uplink resource to the first logical channel from a second uplinkresource, wherein the second uplink resource is an unallocated uplinkresource of which a priority of a corresponding transmission profile ishigher than that of the transmission profile corresponding to the firstlogical channel; or allocating an uplink resource to the first logicalchannel from a third uplink resource, wherein the third uplink resourceis an unallocated uplink resource of which a priority of a correspondingtransmission profile is lower than that of the transmission profilecorresponding to the first logical channel; or allocating an uplinkresource to the first logical channel from a fourth uplink resource,wherein the fourth uplink resource is an unallocated uplink resource ofwhich a priority of a corresponding transmission profile is equal tothat of the transmission profile corresponding to the first logicalchannel; or stopping allocating an uplink resource to the first logicalchannel.
 9. The method according to claim 1, wherein when the logicalchannel corresponds to a plurality of transmission profiles, theallocating, based on the transmission profile corresponding to thelogical channel and the transmission profile corresponding to the uplinkresource, an uplink resource indicated by the UL grant to the logicalchannel comprises: selecting and allocating an uplink resourcecorresponding to a transmission profile to a first logical channel inthe order of priorities of a plurality of transmission profiles, fromhigh to low, corresponding to the logical channel, wherein the firstlogical channel is any one of the logical channels configured with thecorresponding transmission profile.
 10. The method according to claim 9,wherein the allocating, based on the transmission profile correspondingto the logical channel and the transmission profile corresponding to theuplink resource, an uplink resource indicated by the UL grant to thelogical channel comprises: in a case that the uplink resourcescorresponding to the plurality of transmission profiles corresponding tothe logical channel are insufficient to meet the demand on the quantityof resources required by the logical channel, allocating an uplinkresource to the logical channel by: allocating an uplink resourcecorresponding to a transmission profile other than the transmissionprofile corresponding to the logical channel to the logical channel; orafter allocating uplink resources, based on the plurality ofcorresponding configured transmission profiles, to all the logicalchannels once, allocating an uplink resource corresponding to atransmission profile other than the transmission profile correspondingto the logical channel to the logical channel or stopping allocating anuplink resource to the logical channel.
 11. The method according toclaim 1, wherein the allocating, based on the transmission profilecorresponding to the logical channel and the transmission profilecorresponding to the uplink resource, an uplink resource indicated bythe UL grant to the logical channel further comprises: allocating anuplink resource to a second logical channel in the order of the priorityof the transmission profile corresponding to the uplink resource fromhigh to low or from low to high, wherein the second logical channel is alogical channel unconfigured with a corresponding transmission profile.12. The method according to claim 1, wherein the allocating, based onthe transmission profile corresponding to the logical channel and thetransmission profile corresponding to the uplink resource, an uplinkresource indicated by the UL grant to the logical channel furthercomprises: allocating, based on a default transmission profile and atransmission profile corresponding to the uplink resource, an uplinkresource to a second logical channel, wherein the second logical channelis a logical channel unconfigured with a corresponding transmissionprofile, and the default transmission profile is pre-configured by thebase station.
 13. The method according to claim 1, further comprising:receiving transmission profile allocation information sent by a basestation, wherein the transmission profile allocation informationcomprises at least one of indication information of a defaulttransmission profile, indication information of a transmission profileset and indication information of a transmission profile correspondingto a logical channel; the indication information of the defaulttransmission profile is configured to indicate a transmission profilepreferentially used by a logical channel unconfigured with acorresponding transmission profile; and the transmission profile setcomprises a transmission profile corresponding to the logical channel.14.-26. (canceled)
 27. A terminal, comprising: at least one processor;and memory configured to store an instruction executable by theprocessor, wherein the processor is configured to perform: receiving anuplink (UL) grant sent by a base station; and allocating, based on atransmission profile corresponding to a logical channel, an uplinkresource indicated by the UL grant to the logical channel, wherein thetransmission profile corresponding to the logical channel is configuredby the base station.
 28. The terminal according to claim 27, wherein theallocating, based on a transmission profile corresponding to a logicalchannel, an uplink resource indicated by the UL grant to the logicalchannel comprises: determining a transmission profile corresponding tothe uplink resource indicated by the received UL grant; and allocating,based on the transmission profile corresponding to the logical channeland the transmission profile corresponding to the uplink resource, anuplink resource indicated by the UL grant to the logical channel. 29.The terminal according to claim 28, wherein the uplink resourceindicated by each of the UL grants comprises one or a plurality oftime-frequency resource blocks, and each time-frequency resource blockcorresponds to one transmission profile.
 30. The terminal according toclaim 28, wherein the determining a transmission profile correspondingto the uplink resource indicated by the received UL grant comprises:acquiring an identifier of a transmission profile corresponding to theuplink resource from the UL grant, and determining, based on theidentifier of the transmission profile, the transmission profilecorresponding to the uplink resource; or the determining a transmissionprofile corresponding to the uplink resource indicated by the receivedUL grant comprises: acquiring a transmission profile parametercorresponding to the uplink resource from the UL grant, and determining,based on the acquired transmission profile parameter, the transmissionprofile corresponding to the uplink resource.
 31. The terminal accordingto claim 28, wherein the allocating, based on a transmission profilecorresponding to a logical channel, an uplink resource indicated by theUL grant to the logical channel further comprises: determining whether atransmission profile corresponding to an uplink resource indicated bythe UL grant belongs to a pre-configured transmission profile set,wherein the transmission profile set comprises a transmission profilecorresponding to the logical channel; and not allocating an uplinkresource corresponding to the transmission profile that does not belongto the transmission profile set, or determining a priority of thetransmission profile that does not belong to the transmission profileset as a minimum priority, upon it is determined that a transmissionprofile corresponding to an uplink resource indicated by the UL grantdoes not belong to a pre-configured transmission profile set.
 32. Theterminal according to claim 31, wherein the logical channel correspondsto one or a plurality of transmission profiles; and in a case that thelogical channel corresponds to one transmission profile, the allocating,based on the transmission profile corresponding to the logical channeland the transmission profile corresponding to the uplink resource, anuplink resource indicated by the UL grant to the logical channelcomprises: allocating an uplink resource to the first logical channelfrom the first uplink resource when a first uplink resource exists, andthe quantity of the first uplink resource is larger than or equal to thequantity of resources required by a first logical channel, wherein thefirst uplink resource is an unallocated uplink resource of which acorresponding transmission profile is the same as a transmission profilecorresponding to the first logical channel, and the first logicalchannel is any of the logical channels configured with a correspondingtransmission profile.
 33. A communication system implementing the methodof claim 1, comprising the base station and a terminal, wherein thecommunication system is configured to allocate the correspondingtransmission profile to the logical channel, such that the uplinkresource that meets the transmission profile of the logical channel ispreferentially allocated to the logical channel, thereby betterguaranteeing transmission of data on the logical channel to meetrequirements of communication services; wherein the base station isconfigured to send transmission profile allocation information and sendthe UL grant; and wherein the terminal is configured to perform thereceiving and the allocating.